object ZDocFrame: TZDocFrame
  Left = 0
  Top = 0
  Width = 813
  Height = 444
  TabOrder = 0
  object ZDoc: TcxGrid
    Left = 0
    Top = 0
    Width = 813
    Height = 297
    Align = alTop
    TabOrder = 0
    ExplicitTop = 2
    object ZDocView: TcxGridDBTableView
      Navigator.Visible = True
      DataController.DataSource = ZDocSource
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      FilterRow.Visible = True
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.FocusFirstCellOnNewRecord = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.ImmediateEditor = False
      OptionsBehavior.NavigatorHints = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsView.CellAutoHeight = True
      OptionsView.GroupByBox = False
      OptionsView.HeaderAutoHeight = True
      OptionsView.Indicator = True
      object ZDocState: TcxGridDBColumn
        DataBinding.FieldName = 'STATE'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.Glyph.Data = {
          36060000424D3606000000000000360000002800000020000000100000000100
          18000000000000060000F00A0000F00A00000000000000000000FFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFF9B7C6B9D7E6D9C7E6D9C7E6D9F8271C7BAB070
          9F642B811E1E710831781D6C9661C6BBAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFF9B7766FFFFFFFAF4E9FAF4E9F6F5EE41A43E00
          9A0000A2070097000E89002E71003C7C2DF8FBF8FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFA27F6FFFFFFFDDC2B5E6D2C882B7790DA71A2C
          B53FFDFBFF6FD48800980000950030700083B483FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFA38070FFFFFFDBC3BBECDFDA43AA472EB33CF5
          ECF4FFF6FFFFFFFF6FD588009A00128800368226FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFA98778FFFFFFDBC7C2EEE4E23AAE445DB964C0
          D6BC03AD219DDBA7FFFFFF6DD4870095001F760AFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFAB897AFFFFFFDBC7C3ECE1DE4EB55743CD6D19
          BB4225C04F0BB22E9DD9A5FFFFFF67CF7C308828FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFAF8E7FFFFFFFDCC5C0E5D4CF85C07E72DD9635
          CE6A2EC75E25BE4B09AF278BD0944EBB5986BD86FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFAF8F80FFFFFFFEFEFEFEFEFEF9FBF95AC06071
          DD964AD37A29C2521CB73B0DAA22369530F9FCF9FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFAF8F80FFFFFFDFCECCDFCDCBDFCBC7E9DFDA86
          C07E52B85B3CB14844AC4889C486C7BAAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFB19080FFFFFFFFFFFFFFFFFFFFFFFFFEFEFEFE
          FEFCFEFDFBFEFCFAFCF9F6F4EEE8A08173FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFB79787FFFFFFFFFFFFFFFFFFFFFFFFFEFEFEFE
          FDFBFDFBF9A78270A78270A78270A78270FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFB89888FFFFFFFFFFFFFFFFFFFEFEFEFEFEFDFE
          FCFAFDFBF9A78270F5E2D9B18E7EE1D4CEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFB89888FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFA78270B18E7EE1D4CEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFB89888B89888B49383B49383B08E7DB08E7DAC
          8877AC8877A78270E1D4CEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        Properties.GlyphCount = 2
        Properties.ValueChecked = 1
        Properties.ValueUnchecked = 0
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Width = 20
        IsCaptionAssigned = True
      end
      object ZDocViewIsShema: TcxGridDBColumn
        Caption = ' '
        DataBinding.FieldName = 'ISSHEMA'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.Glyph.Data = {
          36060000424D3606000000000000360000002800000020000000100000000100
          18000000000000060000F00A0000F00A00000000000000000000FFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC
          ECECEEEEEEF8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFEFD8
          D8D8E2E2E2EEEEEEFAFAFAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F8F8BBBBBBCB
          CBCBD8D8D8E6E6E6F7F7F7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF989898787878BF
          BFBFE7E7E7FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6B6B6B4D4D4DE9
          E9E9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA7A7A75F5F5F6E
          6E6EFAFAFAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3E3E391918F4F
          4D4789857EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC3C0B260
          5C832137AA2E5FEB3C66E97780E0EBECFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7F83CF16
          54DF2A8AF9329AFF3196FD2983F03652CCE7E9FAFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2E4FA1E48CE22
          6BE02775E6287DED297DEC2572E62268DE6D78D5FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA5ABE4194CCD1D
          59D41D62DB1F67DF1F67DE1E60D91B58D42948C7FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA7AEE8113DC324
          54CE376AD64072DA3B6FD92C5ED31546C92842C8FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2E5FB213DCA5E
          79D3758FDC809AE17C96DF6884D93454C56E7FDCFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9AABFF32
          4CC88D9AD9B3BDE6A5B1E26072CB3955D4E6EAFDFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBA
          C7FE4E68DE415DD63E5BD9798EE7EBEEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        Properties.GlyphCount = 2
        Properties.ReadOnly = True
        Properties.ValueChecked = 1
        Properties.ValueUnchecked = 0
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 20
      end
      object ZDocViewIsCDoc: TcxGridDBColumn
        DataBinding.FieldName = 'ISCDOC'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.Glyph.Data = {
          36060000424D3606000000000000360000002800000020000000100000000100
          18000000000000060000F00A0000F00A00000000000000000000FFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9B7C6B9D7E6D9C7E6D9C7E6D9C7E6D9C
          7D6D9C7D6C9B7C6B9B7C6B9A7C6A997B689B7C6BFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9B7766FFFFFFFAF4E9FAF4E9FAF4E9FA
          F3E8FAF3E7FAF2E6FAF1E4F9EFE0F8EDDA977967FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA27F6FFFFFFFFCF6EDFCF6EDFBF6EDFB
          F5ECFBF5EBFBF4EAFBF3E8FAF2E6FAF1E2987968FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA38070FFFFFFFCF8F1FCF8F1FCF7F0FC
          F7EFFCF6EEFBF6ECFBF5EBFBF4E9FAF3E6997A6AFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA98778FFFFFFFDF9F4FDF9F4FCF9F3FC
          F8F2FCF8F1FCF7EFFBF6EDFBF5EBFBF4E8997B6BFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAB897AFFFFFFFDFBF7FDFBF7FDFAF6FD
          FAF5FCF9F4FCF8F2FCF7EFFBF6EDFBF5EA9A7C6BFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAF8E7FFFFFFFFEFCFBFEFCFAFDFCFAFD
          FBF8FDFAF6FDF9F4FCF8F1FCF7EFFBF5EC9B7C6BFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAF8F80FFFFFFFFFFFFFFFFFFFEFEFEFE
          FDFDFEFCFAFDFBF7FDF9F4FCF8F1FCF6EE9C7C6DFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB19080FFFFFFACACA98E90AD2829A70D
          0E8C8A8AC2FDFBF8FCF9F4F9F4EEF0E8E09F8071FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB79787FFFFFF918E890020D2001DD900
          039C040485B2B0D3BBA4A0B99B8DA78270A78270FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB89888FFFFFFA3AFEA1549FF0731EF00
          0DB50010B700029E1D1686F5E2D9B18E7EE1D4CEFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB89888FFFFFFB4BEF13768FF295CFF0D
          3AF40012BF000BB1090A93B18E7EE1D4CEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB89888B89888C1A79C5566D22145EB17
          3AE3001DD50016C7453C8CE1D4CEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF91
          9EED0E2DDA5564D2F4F4FAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        Properties.GlyphCount = 2
        Properties.ValueChecked = 1
        Properties.ValueUnchecked = 0
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Width = 20
        IsCaptionAssigned = True
      end
      object ZDocViewColumn1: TcxGridDBColumn
        Caption = #8470' '#1089#1090#1088
        DataBinding.FieldName = 'NUM'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
      end
      object ZDocViewLastCDocInfo: TcxGridDBColumn
        Caption = #1050#1086#1084#1080#1089#1089#1080#1103
        DataBinding.FieldName = 'LastCDocInfo'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Width = 120
      end
      object ZDocViewAnswer: TcxGridDBColumn
        Caption = #1054#1090#1074#1077#1090
        DataBinding.FieldName = 'ANSWER'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'CODE'
        Properties.ListColumns = <
          item
            FieldName = 'NAME'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = ZDocAnswerSource
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 87
      end
      object ZDocViewNOMER: TcxGridDBColumn
        Caption = #1053#1086#1084#1077#1088
        DataBinding.FieldName = 'NOMER'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 66
      end
      object ZDocViewDATA: TcxGridDBColumn
        Caption = #1044#1072#1090#1072
        DataBinding.FieldName = 'DATA'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 77
      end
      object ZDocViewZType: TcxGridDBColumn
        Caption = #1042#1080#1076' '#1079#1072#1103#1074#1083#1077#1085#1080#1103
        DataBinding.FieldName = 'ZTYPE'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'Code'
        Properties.ListColumns = <
          item
            FieldName = 'Name'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = ZDocTypeSource
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Width = 120
      end
      object ZDocViewPR: TcxGridDBColumn
        Caption = #1042#1080#1076' '#1074#1099#1076#1077#1083#1077#1085#1080#1103
        DataBinding.FieldName = 'PR'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'Code'
        Properties.ListColumns = <
          item
            FieldName = 'Name'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = PRSource
        Width = 89
      end
      object ZDocViewKontragent: TcxGridDBColumn
        Caption = #1050#1086#1085#1090#1088#1072#1075#1077#1085#1090
        DataBinding.FieldName = 'KONTRAGENT'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'CODE'
        Properties.ListColumns = <
          item
            FieldName = 'NAME'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = KontragentSource
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 184
      end
      object ZDocViewVType: TcxGridDBColumn
        Caption = #1058#1080#1087' '#1086#1073#1098#1077#1082#1090#1072
        DataBinding.FieldName = 'VTYPE'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'CODE'
        Properties.ListColumns = <
          item
            FieldName = 'NAME'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = VTypeSource
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 144
      end
      object ZDocViewSType: TcxGridDBColumn
        Caption = #1057#1087#1077#1094#1080#1072#1083#1080#1079#1072#1094#1080#1103
        DataBinding.FieldName = 'STYPE'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'CODE'
        Properties.ListColumns = <
          item
            FieldName = 'NAME'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = STypeSource
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 128
      end
      object ZDocViewZone: TcxGridDBColumn
        Caption = #1056#1072#1081#1086#1085
        DataBinding.FieldName = 'ZONE'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'CODE'
        Properties.ListColumns = <
          item
            FieldName = 'NAME'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = ZoneSource
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 120
      end
      object ZDocViewAddr: TcxGridDBColumn
        Caption = #1040#1076#1088#1077#1089
        DataBinding.FieldName = 'ADDR'
        GroupSummaryAlignment = taCenter
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 150
      end
      object ZDocViewSQ: TcxGridDBColumn
        Caption = #1055#1083#1086#1097#1072#1076#1100
        DataBinding.FieldName = 'SQ'
        PropertiesClassName = 'TcxCalcEditProperties'
        Properties.Precision = 2
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
      end
      object ZDocViewEType: TcxGridDBColumn
        Caption = #1045#1076'.'#1080#1079#1084'.'
        DataBinding.FieldName = 'ETypeCode'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownAutoSize = True
        Properties.KeyFieldNames = 'Code'
        Properties.ListColumns = <
          item
            FieldName = 'Name'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = ETypeSource
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Width = 45
      end
      object ZDocViewPType: TcxGridDBColumn
        Caption = #1055#1088#1080#1095#1080#1085#1072' '#1076#1086#1088#1072#1073#1086#1090#1082#1080
        DataBinding.FieldName = 'PType'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'Code'
        Properties.ListColumns = <
          item
            FieldName = 'Name'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = PTypeSource
        Properties.ReadOnly = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 161
      end
      object ZDocViewAnswerNote: TcxGridDBColumn
        Caption = #1047#1072#1084#1077#1095#1072#1085#1080#1103
        DataBinding.FieldName = 'ANSWERNOTE'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 150
      end
      object ZDocViewCode: TcxGridDBColumn
        DataBinding.FieldName = 'CODE'
        Visible = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
      end
      object ZDocViewCDoc: TcxGridDBColumn
        DataBinding.FieldName = 'CDOC'
        Visible = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
      end
      object ZDocViewAM: TcxGridDBColumn
        Caption = #1052#1085#1077#1085#1080#1077' '#1043#1059#1040#1080#1043
        DataBinding.FieldName = 'AM'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 127
      end
      object ZDocViewNote: TcxGridDBColumn
        Caption = #1055#1088#1080#1084#1077#1095#1072#1085#1080#1077
        DataBinding.FieldName = 'NOTE'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 125
      end
    end
    object ZDocLevel: TcxGridLevel
      GridView = ZDocView
    end
  end
  object Splitter: TcxSplitter
    Left = 0
    Top = 297
    Width = 813
    Height = 8
    AlignSplitter = salTop
    Control = ZDoc
  end
  object CDocGrid: TcxGrid
    Left = 0
    Top = 305
    Width = 813
    Height = 139
    Align = alClient
    TabOrder = 2
    object CDocView: TcxGridDBTableView
      Navigator.Visible = True
      DataController.DataSource = CDocDetailSource
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.ImmediateEditor = False
      OptionsBehavior.NavigatorHints = True
      OptionsBehavior.EditAutoHeight = eahEditor
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.CellAutoHeight = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      object CDocColumnInfo: TcxGridDBColumn
        Caption = #1050#1086#1084#1080#1089#1089#1080#1103
        DataBinding.FieldName = 'Info'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 181
      end
      object CDocColumnAnswer: TcxGridDBColumn
        Caption = #1054#1090#1074#1077#1090
        DataBinding.FieldName = 'Answer'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'Code'
        Properties.ListColumns = <
          item
            FieldName = 'Name'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = ZDocAnswerSource
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 114
      end
      object CDocColumnPType: TcxGridDBColumn
        Caption = #1055#1088#1080#1095#1080#1085#1072' '#1076#1086#1088#1072#1073#1086#1090#1082#1080
        DataBinding.FieldName = 'PType'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.DropDownSizeable = True
        Properties.KeyFieldNames = 'Code'
        Properties.ListColumns = <
          item
            FieldName = 'Name'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = PTypeSource
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 199
      end
      object CDocColumnNote: TcxGridDBColumn
        Caption = #1047#1072#1084#1077#1095#1072#1085#1080#1103
        DataBinding.FieldName = 'Note'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Width = 302
      end
    end
    object CDocGridLevel1: TcxGridLevel
      GridView = CDocView
    end
  end
  object ZDocSource: TDataSource
    DataSet = DBUnit.ZDoc
    Left = 72
    Top = 80
  end
  object ZDocTypeSource: TDataSource
    DataSet = DBUnit.ZDocType
    Left = 168
    Top = 80
  end
  object ZDocAnswerSource: TDataSource
    DataSet = DBUnit.ZDocAnswer
    Left = 264
    Top = 80
  end
  object KontragentSource: TDataSource
    DataSet = DBUnit.Kontragent
    Left = 72
    Top = 136
  end
  object VTypeSource: TDataSource
    DataSet = DBUnit.VType
    Left = 264
    Top = 136
  end
  object ZoneSource: TDataSource
    DataSet = DBUnit.Zone
    Left = 168
    Top = 136
  end
  object ZDocFrameStrore: TcxPropertiesStore
    Components = <
      item
        Component = ZDocState
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewAddr
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewAM
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewAnswer
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewAnswerNote
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewCDoc
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewCode
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewDATA
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewIsCDoc
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewIsShema
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewKontragent
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewLastCDocInfo
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewNOMER
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewNote
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewPR
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewPType
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewSQ
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewVType
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewZone
        Properties.Strings = (
          'Width')
      end
      item
        Component = ZDocViewZType
        Properties.Strings = (
          'Width')
      end>
    StorageName = 'ZDocFrame.ini'
    Left = 72
    Top = 184
  end
  object PTypeSource: TDataSource
    DataSet = DBUnit.PType
    Left = 168
    Top = 184
  end
  object PRSource: TDataSource
    DataSet = DBUnit.PRType
    Left = 264
    Top = 184
  end
  object ZDoc_CDoc: TpFIBDataSet
    DeleteSQL.Strings = (
      'delete from CDocSpec where Code=:OLD_Code')
    SelectSQL.Strings = (
      'select '
      '  a.Code Code,'
      '  a.CDoc,'
      '  a.ZDoc,'
      '  a.Answer,'
      '  a.PType,'
      '  a.Note,'
      
        '  z.Nomer || '#39' '#1086#1090' '#39' || extract(Day  from z.Data) || '#39'.'#39' || extra' +
        'ct(Month from z.Data) || '#39'.'#39' || extract(year from z.Data) Info  '
      'from CDocSpec a'
      'left outer join CDoc z on (z.Code=a.CDoc)'
      'where a.ZDoc=:mas_Code'
      'order by z.Data')
    Transaction = DBUnit.RT
    Database = DBUnit.DB
    UpdateTransaction = DBUnit.WT
    AutoCommit = True
    DataSource = ZDocSource
    Left = 48
    Top = 352
    WaitEndMasterScroll = True
  end
  object CDocDetailSource: TDataSource
    DataSet = ZDoc_CDoc
    Left = 128
    Top = 352
  end
  object STypeSource: TDataSource
    DataSet = DBUnit.SType
    Left = 352
    Top = 136
  end
  object ETypeSource: TDataSource
    DataSet = DBUnit.EType
    Left = 352
    Top = 200
  end
end
